package com.itao.log.contorller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sjt
 * @Date 2025/4/29 10:06
 */
@RestController
public class LogContorller {

    private final static Logger logger = LoggerFactory.getLogger(LogContorller.class);

    @GetMapping("/log")
    public void test() {
        logger.info("姓名：{}，电话：{}","蜗牛哥哥","18351905928");
    }
}
